<div class="outer-fill shadow padding15">
 <div class="judul-page">Data Jumlah pekerjaan</div>
  <form class="form-inline" role="form" method="post" action="<?php echo site_url($aksi_cari);?>">
    <div class="form-group">
      <label class="sr-only" for="pencarian">Pencarian</label>
      <input type="text" name="judul" class="form-control" value="<?php echo isset($param_judul)?$param_judul:''; ?>" id="judul" placeholder="Pencarian Tahun">
    </div>

    <button type="submit" class="btn btn-info btn-sm" id="cari" name="cari">
      <span class="glyphicon glyphicon-search"></span>&nbsp;&nbsp;Cari</button>
    <a href="<?php echo site_url('admin_jpekerjaan/view_add')?>" class="btn btn-success btn-sm pull-right"> 
      <span class="glyphicon glyphicon-plus"></span>&nbsp;&nbsp;Tambah
    </a>
  </form>
  <br>
  <!-- style table -->
  <table class="table table-striped">
    <thead>
      <tr>
        <th>No</th>
        <th>Tahun</th>
        <th>Sofware Development</th>
        <th>Infrastruktur</th>
        <th>Internet</th>
        <th>Aksi</th>
      </tr>
    </thead>
    <tbody>
	  <?php 
	  $no=1+$offset;
	  foreach($hasil as $val){
	  ?>
      <tr>
        <td><?php echo $no?></td>
		    <td><?php echo $val['tahun']?></td>
        <td><?php echo $val['jml_softdev']?></td>
        <td><?php echo $val['jml_infrastruktur']?></td>
        <td><?php echo $val['jml_internet']?></td>
        <td>
          <a href="<?php echo site_url('admin_jpekerjaan/view_edit'."/".$val['id_jmlpekerjaan']);?>" class="btn btn-primary btn-xs"><span class="glyphicon glyphicon-edit"></span>&nbsp;Edit</a>
          <a onclick="return confirm('Apakah data ingin dihapus ?')" href="<?php echo site_url('admin_jpekerjaan/delete'."/".$val['id_jmlpekerjaan']);?>" class="btn btn-danger btn-xs"><span class="glyphicon glyphicon-trash"></span>&nbsp;Hapus</a>
        </td>
      </tr>
    <?php
		$no++;
		}
		?>
    </tbody>
  </table>
  <!-- end table -->


 
 <?php
echo ! empty($pagination) ? '<center><div class="pagination">' . $pagination . '</div></center>' : '';
?>
</div>